package com.league.zjxn.main.mine

import com.blankj.utilcode.util.ActivityUtils
import com.league.zjxn.R
import com.module.lemlin.owner.OwnerAbstractActivity
import kotlinx.android.synthetic.main.activity_league_notice.*

class LeagueNoticeActivity : OwnerAbstractActivity() {

    companion object {
        fun open() {
            ActivityUtils.startActivity(LeagueNoticeActivity::class.java)
        }
    }

    override val layoutResId: Int
        get() = R.layout.activity_league_notice

    override fun stateBar(): StatusBar {
        return StatusBar(view = flLeagueNoticeBar)
    }

    override fun initView() {
        tvLeagueNoticeNo.setOnClickListener {
            finish()
        }
        tvLeagueNoticeYes.setOnClickListener {
            LeagueApproveActivity.open()
            finish()
        }
    }
}